-- GENERATED SPELL FOR [Cersei Dusksinger] --


function spell0_17109(pUnit, Event) --@Summon Succubus,Self--
pUnit:FullCastSpellOnTarget(8722,pUnit)
pUnit:RegisterEvent('Sorts_17109', 638, 1)
end

function Sorts_17109(pUnit, Event)
local choix_sorts_17109 = math.random(0, 0)
if choix_sorts_17109 == 0 then
pUnit:RegisterEvent('spell0_17109', 1, 1)
end
end

function mob17109_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_17109', math.random(1500, 3000), 1)
end

function mob17109_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob17109_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob17109_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(17109, 1, 'mob17109_Action')
RegisterUnitEvent(17109, 2, 'mob17109_Leave')
RegisterUnitEvent(17109, 3, 'mob17109_Kill')
RegisterUnitEvent(17109, 4, 'mob17109_Die')
